#ifndef XGE_XALLSTATIC_H_
#define XGE_XALLSTATIC_H_
#include "xge_common_config.h"
#include "xassert.h"

namespace xge{

  class AllStatic {
  private:
    static void* operator new( size_t size ) {
      DUMMY_ARG(size);
      XASSERT(!_xT("AllStatic Class, Invalid Operator New Calling!"));
    }

    static void operator delete( void* ptr ) {
      DUMMY_ARG(ptr);
      XASSERT(!_xT("AllStatic Class,Invalid Operator Delete Calling!"));
    }

    static void* operator new[] ( size_t size ) {
      DUMMY_ARG(size);
      XASSERT(!_xT("AllStatic Class,Invalid Operator New[] Calling!"));
    }

    static void operator delete[] ( void* ptr ) {
      DUMMY_ARG(ptr);
      XASSERT(!_xT("AllStatic Class,Invalid Operator Delete[] Calling!"));
    }

  };

}// namespace xge

#endif// XGE_ALLSTATIC_H_